﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FootballCourt.Data.Abstract;

namespace FootballCourt.Data.Concrete
{
    public class UnitOfWork: IUnitOfWork
    {
        private readonly IFootballCourtContext context;
        public UnitOfWork(IFootballCourtContext context)
        {
            this.context = context;
        }
        public void Commit()
        {
            context.Commit();
        }
    }
}
